package org.flexharmony.eclipse.nature.wizard;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.widgets.Composite;
import org.flexharmony.eclipse.properties.PropertiesPanel;

public class PropertiesPage extends AbstractNatureWizardPage
{
  private PropertiesPanel propertiesPanel;
  
  public PropertiesPage()
  {
    super("propertiespage");
    setTitle("FlexHarmony Properties");
    setDescription("Set the FlexHarmony properties for this project.");
  }
  
  public void save() throws CoreException
  {
    propertiesPanel.save();
  }

  public void createControl(Composite parent)
  {
    propertiesPanel = new PropertiesPanel(getProject(), parent);
    setControl(propertiesPanel);
  }

}
